<template>
    <!-- components/noData/index.wxml -->
    <view class="root" :style="'background-color: ' + backgroundColor + ';'">
        <image class="no_data_img" src="https://cq-prd.oss-cn-hangzhou.aliyuncs.com/static/res/no_data_20230206.png"></image>
        <text class="no_data_text">暂无内容</text>
    </view>
</template>

<script>
// components/noData/index.js
export default {
    data() {
        return {};
    },
    /**
     * 组件的属性列表
     */
    props: {
        backgroundColor: {
            type: String,
            default: '#F9F9F9'
        }
    },
    /**
     * 组件的方法列表
     */
    methods: {},
    created: function () {}
};
</script>
<style>
@import './index.css';
</style>
